.view>img {
    max-height:300px; 
    max-width:300px;
    width:expression( (this.width > 300 && this.width > this.height) ? '300px': this.width+'px');
    height:expression( (this.height > 300 && this.height > this.width) ? '300px': this.height+'px');
    border: 0px;
    vertical-align: middle;
}

input, select, textarea {
	width: 200px;
}

.btn_addPic {
	display: block;
	position: relative;
	width: 140px;
	height: 39px;
	overflow: hidden;
	border: 1px solid #EBEBEB;
	background: none repeat scroll 0 0 #F3F3F3;
	color: #999999;
	cursor: pointer;
	text-align: center;
}

.btn_addPic span {
	display: block;
	line-height: 39px;
}

.btn_addPic em {
	background:url(../images/addbtn.png) 0 0;
	display: inline-block;
	width: 18px;
	height: 18px;
	overflow: hidden;
	margin: 10px 5px 10px 0;
	line-height: 20em;
	vertical-align: middle;
}

.btn_addPic:hover em {
	background-position: -19px 0;
}

.filePrew {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 140px;
	height: 39px;
	font-size: 100px; /* 增大不同浏览器的可点击区域 */
	opacity: 0; /* 实现的关键点 */
	filter:alpha(opacity=0);/* 兼容IE */
}

#warestable {
	margin: 0 auto;
	width: 1000px;
}

table#warestable>tbody>tr>td {
	height: 50px;
}

#warestable .tname {
	width: 25%;
}

#warestable .tname-s {
	width: 100%;
	min-height: 50px;
}

#warestable .tvalue {
	width: 25%;
}

#warestable .tvalue-s {
	width: 75%;
}

.date-div-left {
	float: left;
}

.view {
	float: left;
	width: 50%;
	height: 300px;
	line-height: 300px;
}